package com.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.bean.Picture;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PictureMapper extends BaseMapper<Picture> {
    Picture slectPByName(String name);

    int savePicture(@Param("picture")Picture picture);

    int delImage(String fileName);
}
